import request from "@/utils/request";

export function getBaseInfo() {
  return request({
    url: "/system/webSiteConfig/getBaseInfo",
    method: "get"
  });
}

export function saveBaseInfo(data) {
  return request({
    url: "/system/webSiteConfig/save",
    method: "post",
    data: data
  });
}

export function getVideoBaseInfo() {
  return request({
    url: "/system/websiteVideo/getBaseVideoInfo",
    method: "get"
  });
}

export function saveVideoBaseInfo(data) {
  return request({
    url: "/system/websiteVideo/save",
    method: "post",
    data: data
  });
}
